/*
 *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
 *
 *  Redistribution and use in source and binary forms, with or without
 *  modification, are permitted provided that the following conditions are met:
 *
 *  Redistributions of source code must retain the above copyright notice,
 *  this list of conditions and the following disclaimer.
 *  Redistributions in binary form must reproduce the above copyright
 *  notice, this list of conditions and the following disclaimer in the
 *  documentation and/or other materials provided with the distribution.
 *  Neither the name of the dreamlu.net developer nor the names of its
 *  contributors may be used to endorse or promote products derived from
 *  this software without specific prior written permission.
 *  Author: Chill 庄骞 (smallchill@163.com)
 */
package com.plian.system.vo.qg.guarantee;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.plian.system.entity.qg.guarantee.PropertyGuaranteeExecute;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;

/**
 * 企业担保执行主表视图实体类
 *
 * @author jianglei
 * @since 2019-10-24
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "PropertyGuaranteeExecuteVO对象", description = "企业担保执行主表")
public class PropertyGuaranteeExecuteVO extends PropertyGuaranteeExecute {
	private static final long serialVersionUID = 1L;

    private String createUserName;

    private String updateUserName;

	/**
	 * 申请公司名称
	 */
	private String applyName;

	/**
	 * 担保方式
	 */
	private String guaranteeModeName;
	/**
	 * 担保责任
	 */
	private String guaranteeDutyName;

	/**
	 * 借款资金种类
	 */
	private String loanTypeName;

	/**
	 * 借款性质
	 */
	private String loanNatureName;

	/**
	 * 审批人
	 */
	private String approvedUserName;

	/**
	 * 担保公司名称
	 */
	private String guaranteeCompanyName;

	/**
 	* 累计担保额
 	*/
	private BigDecimal guaranteeTotal;
	/**
 	* 剩余担保金额
 	*/
	private BigDecimal guaranteeRemain;
	/**
	 * 累计借款额
	 */
	private BigDecimal totalLoanAmount;

	//偿还时使用
	/**
	 * 执行单据编码
	 */
	private String executeCode;

	/**
	 * 执行单据id
	 */
	@JsonSerialize(using = ToStringSerializer.class)
	private Long executeId;

	/**
	 * 申请单据id
	 */
	@JsonSerialize(using = ToStringSerializer.class)
	private Long applyId;

	@ApiModelProperty(value = "申请单据id", required = true)
	private String applyDataSourceId;
}
